package com.bsoft.providertest;

import android.content.ContentResolver;
import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;

import com.socks.library.KLog;

public class MainActivity extends AppCompatActivity {
    private ContentResolver resolver = null;
    private FruitsHelper fruitsHelper = null;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_main);

        fruitsHelper = new FruitsHelper(this);

        /**增加数据**/
        Fruits fruits = new Fruits(4, "大苹果", "巨大", "wwww.baidu.com");
        long flag = fruitsHelper.insertFruits(fruits);
        KLog.i(flag);

        /**删除数据**/


        /**修改数据**/


        /**查找数据**/


    }

}
